package com.coco;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author GHOSTLaycoo
 * @date 2020/2/28 0028 - 下午 15:47
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableJpaRepositories("com.coco.dao")
@EntityScan("com.coco.entity")
@MapperScan("com.coco.dao")
@ComponentScan("com.coco")
public class CoManager {
    public static void main(String[] args) {
        SpringApplication.run(CoManager.class,args);
    }
}
